package cn.kgm.template.dto.query;

import cn.kgm.template.dto.base.TemplateEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

/**
 * # 技术改变自己 #
 * 模板数据,select标签表
 *
 * @author kapp-i
 * @date 2024-03-18 14:47:46
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@ApiModel(value = "TemplateSelectsPageQuery", description = "模板数据,select标签表")
public class TemplateSelectsPageQuery extends TemplateEntity<Long> {

    /**
     * 模板ID
     */
    @ApiModelProperty(value = "模板ID")
    private Long templateId;

    /**
     * 0,预设select标签,1,动态select标签
     */
    @ApiModelProperty(value = "0,预设select标签,1,动态select标签")
    private Integer isLife;

    /**
     * islife = 1 时,需要配置请求地址
     */
    @ApiModelProperty(value = "islife = 1 时,需要配置请求地址")
    private String apiUrl;

    /**
     * # 是否单选,1,是单选,0,多选
     */
    @ApiModelProperty(value = "# 是否单选,1,是单选,0,多选")
    private Boolean isSingle;

}
